ExamPlay Light Logo
登入

Computer Science for IGCSE & O level - Programming (Section 15 - No. 22)

In the calculation example: `Calculate Number1 + Number2 * Number3;`, what operation will be performed first, according to the rules of precedence?
Number1 + Number2
Number2 * Number3
The entire expression will result in an error.
The order will depend on the compiler used.

解释

Multiplication is performed before addition in typical operator precedence rules.

评论 (0)

登录发表评论
广告
BrainBehindX Inc Logo
©2026; 供电 BrainBehindX Inc